package mviewer.functions;

public class Translation implements IFunction {

	final private float PRECISION = 1f;

	public float renderY(int x) {
		return x * PRECISION;
	}

	public int renderX(float y) {
		return (int)(y / PRECISION);
	}

	public int getMinimum() {
		return -50;
	}

	public int getMaximum() {
		return 50;
	}
}
